package com.example.cdctestsystem.mapper;

import com.example.cdctestsystem.pojo.Admin;

import java.util.List;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    //添加管理员
    void insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin findAdmin(Admin admin);


    List<Admin> getAdmin();


}